module.exports = {
    apps: [
        {
            name: 'human_server',
            port: '9101', // 启动端口
            instances: 1,
            script: '/www/wwwroot/new-human-server/bin/www.js',
            autorestart: true, // 程序崩溃后自动重启

            namespace: "human_server",
            max_memory_restart: "1024M",
            user: "www",
            exec_mode: "fork",
            args: "",
            watch: false,
            out_file: "/www/wwwlogs/pm2/new-human-server/out.log",
            error_file: "/www/wwwlogs/pm2/new-human-server/err.log",
            log_date_format: "YYYY-MM-DD HH:mm:ss",
            merge_logs: true,
            interpreter: "/www/server/nodejs/v20.19.4/bin/node",
        }
    ]
}